// function practise

#include <iostream>
using namespace std;


void swap01(int ,int );

void swap02(int &a, int &b)
{
	int temp = a;
    a = b;
    b = temp;
}

void swap03(int *a, int *b) 
{
	int temp = *a;
	*a=*b;
	*b=temp;
}

int main()
{
	int one = 1;
	int two = 2;
	swap01(one,two);
	printf("one: %d, two: %d\n", one, two);
//	swap02(one,two);
	swap03(&one,&two);
	printf("one: %d, two: %d\n", one, two);
	
}

void swap01(int a,int b)
{
    int temp = a;
    a=b;
    b=temp;
}
